<% form_for [:admin, @recommend_subject], :html => { :multipart => true, :id => "form" } do |f| -%>
  <%= f.error_messages -%>
  
  <div class="box">
    <table class="table border">
      <tr class="th">
        <td width="80" align="right"><strong>主题</strong></td>
        <td><%= f.text_field :title, :style => "width:400px;" %></td>
      </tr>
      <tr class="tr2">
        <td align="right"><strong>排序</strong></td>
        <td><%= f.text_field :sort_order %></td>
      </tr>
      <tr>
        <td width="80" align="right"><strong>类型</strong></td>
        <td><%= f.select :flag, RecommendSubject.flag_options %></td>
      </tr>
    </table>
  </div>
<% end -%>
